Increasing Buffer-Locality for Multiple Index Based Scans through Intelligent Placement and Index Scan Speed Control
نویسندگان
چکیده
Decision support systems are characterized by large concurrent scan operations. A significant percentage of these scans are executed as index based scans of the data. This is especially true when the data is physically clustered on the index columns using the various clustering schemes employed by database engines. Common database management systems have only limited ability to reuse buffer content across multiple running queries due to their treatment of queries in isolation. Previous attempts to coordinate scans for better buffer reuse were limited to table scans only. Attempts for index based scan sharing were non existent or were less than satisfactory due to drifting between scans. In this paper, we describe a mechanism to keep scans using the same index closer together on scan position during scanning. This is achieved via intelligent placement of index scans at scan start time based on their scan ranges and speeds. This is then augmented by adaptive throttling of scan speeds based on the index scans' runtime behavior during scan execution. We discuss the challenges in doing it for index scans in comparison to the more common table scan sharing. We show that this can be done with minimal changes to an existing database management system as demonstrated in our DB2 UDB prototype. Our experiments show significant gains in end-to-end response times and disk I/O for TPC-H workloads.
منابع مشابه
Cooperative scans
Data mining, information retrieval and other application areas exhibit a query load with multiple concurrent queries touching a large fraction of a relation. This leads to individual query plans based on a table scan or large index scan. The implementation of this access path in most database systems is straightforward. The "Scan" operator issues next page requests to the buffer manager without...
متن کاملShared Index Scans for Data Warehouses
Yannis Kotidis1, Yannis Sismanis2, and Nick Roussopoulos2 1 AT&T Labs, 180 Park Ave, P.O. Box 971 Florham Park, NJ 07932-0000 USA [email protected] 2 Institute for Advanced Computer Studies, University of Maryland, College Park fisis,[email protected] Abstract. Tree based indexing structures like B-trees, B+-trees, Bitmap indexes and R-trees have become essential for getting good performa...
متن کاملA Fast Voltage Collapse Detection and Prevention Based on Wide Area Monitoring and Control
Voltage stability is one of the most important factors in maintaining reliable operation of power systems. When a disturbance occurs in the power system, it usually causes instabilities and sometimes leads to voltage collapse (VC). To avoid such problems, a novel approach called Vector Analysis (VA) is proposed that exploits a new instability detection index to provide wide area voltage stabili...
متن کاملIntelligent Methods for File System Optimization
The speed of I/O components is a major limitation of the speed of all other major components in today's computer systems. Motivated by this, we investigated several algorithms for eecient and intelligent organization of les on a hard disk. Total access time may be decreased if les with temporal locality also have spatial locality. Three intelligent methods based on le type, frequency, and trans...
متن کاملUltra-Sensitive Optical Biosensor Based on Whispering Gallery Modes: The Effect of Buffer Solutions Refractive Index on Their Sensitivity and Performance
Background: Whispering gallery modes (WGM) biosensors are ultrasensitive systems that can measure amount of adsorbed layer onto the micro-cavity surface. They have many applications including protein, peptide growth, DNA and bacteria detection, molecular properties measurements and specific interaction and drug table recognitions due to their high sensitivity, compact size and label free sensin...
متن کامل